package cn.angleline.cloudhub.easbi.eas.entity

import java.math.BigDecimal
import java.sql.Timestamp
import javax.persistence.Column
import javax.persistence.Entity
import javax.persistence.Id
import javax.persistence.Table

@Entity
@Table(name ="T_CAS_PaymentBill")
data class TCasPaymentBill(
        @Id
        @Column(name = "FID")
        var fid: String? = null,

        @Column(name = "FCreatorID")
        var fCreatorId: String? = null,

        @Column(name = "FCreateTime")
        var fCreateTime: Timestamp? = null,

        @Column(name = "FLastUpdateUserID")
        var fLastUpdateUserId: String? = null,


        @Column(name = "FLastUpdateTime")
        var fLastUpdateTime: Timestamp? = null,


        @Column(name = "FControlUnitID")
        var fControlUnitId: String? = null,

        @Column(name = "FNumber")
        var fNumber: String? = null,


        @Column(name = "FBizDate")
        var fBizDate: Timestamp? = null,


        @Column(name = "FHandlerID")
        var fHandlerId: String? = null,


        @Column(name = "FDescription")
        var fDescription: String? = null,


        @Column(name = "FHasEffected")
        var fHasEffected: Int? = null,

        @Column(name = "FAuditorID")
        var fAuditorId: String? = null,

        @Column(name = "FSourceBillID")
        var fSourceBillId: String? = null,

        @Column(name = "FSourceFunction")
        var fSourceFunction: String? = null,


        @Column(name = "FCompanyID")
        var fCompanyId: String? = null,

        @Column(name = "FSourceType")
        var fSourceType: Int? = null,

        @Column(name = "FSourceSysType")
        var fSourceSysType: Int? = null,


        @Column(name = "FCurrencyID")
        var fCurrencyId: String? = null,


        @Column(name = "FExchangeRate")
        var fExchangeRate: BigDecimal? = null,


        @Column(name = "FIsExchanged")
        var fIsExchanged: Int ?= null,

        @Column(name = "FLastExhangeRate")
        var fLastExhangeRate: BigDecimal? = null,

        @Column(name = "FSettlementTypeID")
        var fSettlementTypeId: String? = null,

        @Column(name = "FSettlementNumber")
        var fSettlementNumber: String? = null,


        @Column(name = "FOppAccountID")
        var fOppAccountId: String? = null,


        @Column(name = "FFpItemID")
        var fFpItemId: String? = null,


        @Column(name = "FIsCommittle")
        var fIsCommittle: Int? = null,


        @Column(name = "FSettleBizType")
        var fSettleBizType: Int? = null,

        @Column(name = "FAuditDate")
        var fAuditDate: Timestamp? = null,

        @Column(name = "FCashierID")
        var fCashierId: String? = null,


        @Column(name = "FAccountantID")
        var fAccountantId: String? = null,


        @Column(name = "FIsInitializeBill")
        var fIsInitializeBill: Int ?= null,

        @Column(name = "FFiVouchered")
        var fFiVouchered: Int ?= null,

        @Column(name = "FBillStatus")
        var fBillStatus: Int ?= null,


        @Column(name = "FSettlementStatus")
        var fSettlementStatus: Int ?= null,


        @Column(name = "FFundType")
        var fFundType: Int? = null,

        @Column(name = "FPayType")
        var fPayType: Int? = null,

        @Column(name = "FActualPayAmount")
        var fActualPayAmount: BigDecimal? = null,

        @Column(name = "FActPayAmtVc")
        var fActPayAmtVc: BigDecimal? = null,

        @Column(name = "FActPayLocAmt")
        var fActPayLocAmt: BigDecimal? = null,


        @Column(name = "FActPayLocAmtVc")
        var fActPayLocAmtVc: BigDecimal? = null,


        @Column(name = "FPayerBankID")
        var fPayerBankId: String? = null,


        @Column(name = "FPayerAccountBankID")
        var fPayerAccountBankId: String? = null,


        @Column(name = "FPayerAccountID")
        var fPayerAccountId: String? = null,


        @Column(name = "FPayeeTypeID")
        var fPayeeTypeId: String? = null,


        @Column(name = "FPayeeID")
        var fPayeeId: String? = null,


        @Column(name = "FPayeeNumber")
        var fPayeeNumber: String? = null,


        @Column(name = "FPayeeName")
        var fPayeeName: String? = null,


        @Column(name = "FPayeeBank")
        var fPayeeBank: String? = null,


        @Column(name = "FPayeeAccountBank")
        var fPayeeAccountBank: String? = null,


        @Column(name = "FIsImport")
        var fIsImport: Int ?= null,


        @Column(name = "FAmount")
        var fAmount: BigDecimal? = null,


        @Column(name = "FLocalAmount")
        var fLocalAmount: BigDecimal? = null,


        @Column(name = "FAdminOrgUnitId")
        var fAdminOrgUnitId: String? = null,


        @Column(name = "FPersonId")
        var fPersonId: String? = null,


        @Column(name = "FPayDate")
        var fPayDate: Timestamp? = null,


        @Column(name = "FAccessoryAmt")
        var fAccessoryAmt: Int? = null,


        @Column(name = "FConceit")
        var fConceit: String? = null,


        @Column(name = "FIsRelateCheque")
        var fIsRelateCheque: Int ?= null,


        @Column(name = "FChequeId")
        var fChequeId: String? = null,


        @Column(name = "FSummary")
        var fSummary: String? = null,


        @Column(name = "FDayaccount")
        var fDayaccount: BigDecimal? = null,


        @Column(name = "FFdcPayTypeID")
        var fFdcPayTypeId: String? = null,


        @Column(name = "FCurProjectId")
        var fCurProjectId: String? = null,


        @Column(name = "FFdcPayeeNameID")
        var fFdcPayeeNameId: String? = null,


        @Column(name = "FFdcPayeeType")
        var fFdcPayeeType: String? = null,


        @Column(name = "FContractNo")
        var fContractNo: String? = null,


        @Column(name = "FContractBillID")
        var fContractBillId: String? = null,


        @Column(name = "FCapitalAmount")
        var fCapitalAmount: String? = null,


        @Column(name = "FUseDepartmentID")
        var fUseDepartmentId: String? = null,

        @Column(name = "FUrentDegree")
        var fUrentDegree: Int? = null,


        @Column(name = "FDeductMoneyTypeID")
        var fDeductMoneyTypeId: String? = null,


        @Column(name = "FLatestPrice")
        var fLatestPrice: BigDecimal? = null,

        @Column(name = "FAddProjectAmt")
        var fAddProjectAmt: BigDecimal? = null,


        @Column(name = "FChangeAmt")
        var fChangeAmt: BigDecimal? = null,


        @Column(name = "FPayedAmt")
        var fPayedAmt: BigDecimal? = null,


        @Column(name = "FPayPartAMatlAmt")
        var fPayPartAMatlAmt: BigDecimal? = null,


        @Column(name = "FPayTimes")
        var fPayTimes: Int? = null,


        @Column(name = "FProjectPriceInContract")
        var fProjectPriceInContract: BigDecimal? = null,


        @Column(name = "FScheduleAmt")
        var fScheduleAmt: BigDecimal? = null,


        @Column(name = "FtleAmt")
        var ftleAmt: BigDecimal? = null,


        @Column(name = "FCurPlannedPayment")
        var fCurPlannedPayment: BigDecimal? = null,


        @Column(name = "FCurBackPay")
        var fCurBackPay: BigDecimal? = null,


        @Column(name = "FPaymentPlan")
        var fPaymentPlan: BigDecimal? = null,


        @Column(name = "FCurReqPercent")
        var fCurReqPercent: BigDecimal? = null,


        @Column(name = "FAllReqPercent")
        var fAllReqPercent: BigDecimal? = null,


        @Column(name = "FImageSchedule")
        var fImageSchedule: BigDecimal? = null,


        @Column(name = "FCurPaid")
        var fCurPaid: BigDecimal? = null,


        @Column(name = "FPrjAllReqAmt")
        var fPrjAllReqAmt: BigDecimal? = null,


        @Column(name = "FAddPrjAllReqAmt")
        var fAddPrjAllReqAmt: BigDecimal? = null,


        @Column(name = "FPayPartAMatlAllReqAmt")
        var fPayPartAMatlAllReqAmt: BigDecimal? = null,


        @Column(name = "FActFdcPayeeNameID")
        var fActFdcPayeeNameId: String? = null,


        @Column(name = "FFdcPayReqNumber")
        var fFdcPayReqNumber: String? = null,


        @Column(name = "FOppInnerAcctID")
        var fOppInnerAcctId: String? = null,


        @Column(name = "FProvinceID")
        var fProvinceId: String? = null,


        @Column(name = "FCityID")
        var fCityId: String? = null,


        @Column(name = "FRegionID")
        var fRegionId: String? = null,


        @Column(name = "FFeeType")
        var fFeeType: Int? = null,


        @Column(name = "FProjectID")
        var fProjectId: String? = null,


        @Column(name = "FProjectManagerID")
        var fProjectManagerId: String? = null,


        @Column(name = "FLstPrjAllPaidAmt")
        var fLstPrjAllPaidAmt: BigDecimal? = null,


        @Column(name = "FLstAddPrjAllPaidAmt")
        var fLstAddPrjAllPaidAmt: BigDecimal? = null,


        @Column(name = "FLstAMatlAllPaidAmt")
        var fLstAMatlAllPaidAmt: BigDecimal? = null,


        @Column(name = "FLstPrjAllReqAmt")
        var fLstPrjAllReqAmt: BigDecimal? = null,


        @Column(name = "FLstAddPrjAllReqAmt")
        var fLstAddPrjAllReqAmt: BigDecimal? = null,


        @Column(name = "FLstAMatlAllReqAmt")
        var fLstAMatlAllReqAmt: BigDecimal? = null,


        @Column(name = "FFdcPayReqID")
        var fFdcPayReqId: String? = null,


        @Column(name = "FPayeeAccountName")
        var fPayeeAccountName: String? = null,


        @Column(name = "FPayeeAreaID")
        var fPayeeAreaId: String? = null,


        @Column(name = "FVoucherID")
        var fVoucherId: String? = null,


        @Column(name = "FVoucherTypeID")
        var fVoucherTypeId: String? = null,


        @Column(name = "FIsEmergency")
        var fIsEmergency: Int ?= null,


        @Column(name = "FBizTypeID")
        var fBizTypeId: String? = null,


        @Column(name = "FIsBookRL")
        var fIsBookRl: Int? = null,


        @Column(name = "FBgAmount")
        var fBgAmount: BigDecimal? = null,


        @Column(name = "FIsAppointVoucher")
        var fIsAppointVoucher: Int ?= null,


        @Column(name = "fsrcAgenPaymentBillID")
        var fsrcAgenPaymentBillId: String? = null,


        @Column(name = "fagentPaymentBillID")
        var fagentPaymentBillId: String? = null,


        @Column(name = "FPaymentBillType")
        var fPaymentBillType: Int ?= null,


        @Column(name = "FAgentPayCompanyID")
        var fAgentPayCompanyId: String? = null,


        @Column(name = "FPayBillTypeID")
        var fPayBillTypeId: String? = null,


        @Column(name = "FIsRelatePayBook")
        var fIsRelatePayBook: Int? = null,


        @Column(name = "FPayeeAccountBankOID")
        var fPayeeAccountBankOid: String? = null,


        @Column(name = "FFeeTypeID")
        var fFeeTypeId: String? = null,


        @Column(name = "FIsCtrlOppAcct")
        var fIsCtrlOppAcct: Int? = null,


        @Column(name = "FIsRedBill")
        var fIsRedBill: Int? = null,


        @Column(name = "FIsTransBill")
        var fIsTransBill: Int? = null,


        @Column(name = "FIsTransOtherBill")
        var fIsTransOtherBill: Int? = null,

        @Column(name = "FActRecAccountBank")
        var fActRecAccountBank: String? = null,


        @Column(name = "FVerifiedAmt")
        var fVerifiedAmt: BigDecimal? = null,

        @Column(name = "FVerifiedAmtLoc")
        var fVerifiedAmtLoc: BigDecimal? = null,

        @Column(name = "FUnVerifiedAmt")
        var fUnVerifiedAmt: BigDecimal? = null,

        @Column(name = "FUnVerifiedAmtLoc")
        var fUnVerifiedAmtLoc: BigDecimal? = null,


        @Column(name = "FIsDifferPlace")
        var fIsDifferPlace: Int? = null,


        @Column(name = "FEditFlag")
        var fEditFlag: String? = null,


        @Column(name = "FIsNeedVoucher")
        var fIsNeedVoucher: Int? = null,


        @Column(name = "FVoucherNumber")
        var fVoucherNumber: String? = null,


        @Column(name = "FisCommittoBe")
        var fisCommittoBe: Int? = null,


        @Column(name = "FApproverID")
        var fApproverId: String? = null,


        @Column(name = "FApproveDate")
        var fApproveDate: Timestamp? = null,


        @Column(name = "FUsage")
        var fUsage: String? = null,


        @Column(name = "FRecProvince")
        var fRecProvince: String? = null,


        @Column(name = "FRecCity")
        var fRecCity: String? = null,


        @Column(name = "FDifPlace")
        var fDifPlace: Int? = null,


        @Column(name = "FMergencyState")
        var fMergencyState: Int? = null,


        @Column(name = "FBankPayState")
        var fBankPayState: Int? = null,


        @Column(name = "FBankReturnInfo")
        var fBankReturnInfo: String? = null,


        @Column(name = "FAccepter")
        var fAccepter: String? = null,


        @Column(name = "FAccepterDate")
        var fAccepterDate: Timestamp? = null,


        @Column(name = "FMixEntryVerify")
        var fMixEntryVerify: Int? = null,


        @Column(name = "FLastPayeeTypeID")
        var fLastPayeeTypeId: String? = null,


        @Column(name = "FLastPayeeNumber")
        var fLastPayeeNumber: String? = null,


        @Column(name = "FLastPayeeName")
        var fLastPayeeName: String? = null,


        @Column(name = "FLastPayeeID")
        var fLastPayeeId: String? = null,


        @Column(name = "FIsImpFromGL")
        var fIsImpFromGl: Int? = null,


        @Column(name = "FIsNeedPay")
        var fIsNeedPay: Int ?= null,


        @Column(name = "FAdminOrgUnitId_SourceBill")
        var fAdminOrgUnitIdSourceBill: String? = null,


        @Column(name = "FPersonID_SourceBill")
        var fPersonIdSourceBill: String? = null,


        @Column(name = "FAsstActID_SourceBill")
        var fAsstActIdSourceBill: String? = null,


        @Column(name = "FBillDate_SourceBill")
        var fBillDateSourceBill: Timestamp? = null,

        @Column(name = "FAsstActTypeID_SourceBill")
        var fAsstActTypeIdSourceBill: String? = null,
        @Column(name = "FFRecCountryID")
        var ffRecCountryId: String? = null,

        @Column(name = "FTransUpBillEntryId")
        var fTransUpBillEntryId: String? = null,
        @Column(name = "FIsDifBank")
        var fIsDifBank: Int? = null,
        @Column(name = "FisCoopBuild")
        var fisCoopBuild: Int ?= null,
        @Column(name = "FIsReverseLockAmount")
        var fIsReverseLockAmount: Int? = null,
        @Column(name = "FContractNumber")
        var fContractNumber: String? = null,
        @Column(name = "FSubtDate")
        var fSubtDate: Timestamp? = null,
        @Column(name = "FOppFpItemID")
        var fOppFpItemId: String? = null,
        @Column(name = "FOppBgItemId")
        var fOppBgItemId: String? = null,
        @Column(name = "FOppBgItemName")
        var fOppBgItemName: String? = null,
        @Column(name = "FOppBgItemNumber")
        var fOppBgItemNumber: String? = null,
        @Column(name = "FOutBgItemId")
        var fOutBgItemId: String? = null,
        @Column(name = "FOutBgItemName")
        var fOutBgItemName: String? = null,
        @Column(name = "FOutBgItemNumber")
        var fOutBgItemNumber: String? = null,
        @Column(name = "FCostCenterID")
        var fCostCenterId: String? = null,
        @Column(name = "FPayerInAcctID")
        var fPayerInAcctId: String? = null,
        @Column(name = "FCommitBeTime")
        var fCommitBeTime: Timestamp? = null,
        @Column(name = "FtleFeeType")
        var ftleFeeType: Int? = null,
        @Column(name = "FExpectDealTime")
        var fExpectDealTime: Timestamp? = null,
        @Column(name = "FSwiftcode")
        var fSwiftcode: String? = null,
        @Column(name = "FIsLanding")
        var fIsLanding: Int? = null,
        @Column(name = "fpaymentTypeid")
        var fpaymentTypeid: String? = null,
        @Column(name = "FbankAcctName")
        var fbankAcctName: String? = null,
        @Column(name = "FbankNumber")
        var fbankNumber: String? = null,
        @Column(name = "FPrintCount")
        var fPrintCount: Int? = null,
        @Column(name = "CFKDTextArea")
        var cfkdTextArea: String? = null,
        @Column(name = "CFKDTextField")
        var cfkdTextField: String? = null,
        @Column(name = "CFKDTextField1")
        var cfkdTextField1: String? = null


)